package com.cy.stone.framework.redis;

public class RedisKey {

    /**
     * 全局 redis key (业务无关的key)
     */
    public static final String GLOBAL_REDIS_KEY = "global:";

    /**
     * 系统管理相关 redis key
     */
    public static final String SYS_KEY = "sys:";

    /**
     * 角色key
     */
    public static final String ROLE_KEY = SYS_KEY + "role:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = GLOBAL_REDIS_KEY + "repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = GLOBAL_REDIS_KEY + "rate_limit:";
}
